import Layout from '@/page/index/index.vue'

export default [
  {
    path: '/gm',
    component: Layout,
    redirect: '/gm/index',
    children: [
      {
        path: 'index',
        name: '快捷功能',
        meta: {
          auth: true,
          title: '快捷功能',
          keepAlive: true
        },
        component: () => import('@/views/gm/index.vue')
      },
      {
        path: 'sign',
        name: '每日签到',
        meta: {
          auth: true,
          title: '每日签到',
          keepAlive: false
        },
        component: () => import('@/views/gm/sign.vue')
      },
      {
        path: 'money',
        name: '货币充值',
        meta: {
          auth: true,
          title: '货币充值',
          keepAlive: true
        },
        component: () => import('@/views/gm/money.vue')
      },
      {
        path: 'avatar',
        name: '角色功能',
        meta: {
          auth: true,
          title: '角色功能',
          keepAlive: true
        },
        component: () => import('@/views/gm/avatar.vue')
      },
      {
        path: 'weapon',
        name: '武器功能',
        meta: {
          auth: true,
          title: '武器功能',
          keepAlive: true
        },
        component: () => import('@/views/gm/weapon.vue')
      },
      {
        path: 'items',
        name: '物品后台',
        meta: {
          auth: true,
          title: '物品后台',
          keepAlive: true
        },
        component: () => import('@/views/gm/items.vue')
      }
    ]
  }
]
